<?php
try{
    include '../ini.php';
    $contentForLayout=$dt_smarty->fetch('orders/orders.tpl');
    $dt_smarty->assign('titleForLayout','Giỏ Hàng');
    $dt_smarty->assign('contentForLayout',$contentForLayout);
    $dt_smarty->display('layouts/default.tpl');
}catch(Exception $e){
    $dbh=NULL;
    $_SESSION['msg']=$e->getMessage();
    $_SESSION['type_msg']='error';
    header('Location: /home/home.php');
}